<template>
  <el-container>
    <!--    导航-->
    <!--    <el-aside width="200px">-->
    <SideBar/>
    <!--    </el-aside>-->

    <el-container>
      <!--      头部-->
      <el-header>
        <Header/>
      </el-header>
      <!--      内容-->
      <el-main>
        <AppMain/>
      </el-main>

    </el-container>
  </el-container>
</template>

<script>
  import SideBar from "../components/SideBar/SideBar"
  import Header from "../components/Header/Header"
  import AppMain from "../components/AppMain/AppMain"

  export default {
    name: "index",
    components: {SideBar, Header, AppMain}
  }
</script>

<style scoped lang="scss">
  .el-container {
    height: 100vh;
    background: #f2f6fc;

    .el-header {
      background: #fff;
    }
  }
</style>
